package com.xyzm.demo.dmhr.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yy
 * @since 2021-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("DMHR.EMPLOYEE")
@ApiModel(value="Employee对象", description="")
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "EMPLOYEE_ID", type = IdType.AUTO)
    private Integer employeeId;


    @TableField("EMPLOYEE_NAME")
    private String employeeName;

    @TableField("IDENTITY_CARD")
    private String identityCard;

    @TableField("EMAIL")
    private String email;

    @TableField("PHONE_NUM")
    private String phoneNum;

    @TableField("HIRE_DATE")
    private Date hireDate;

    @TableField("JOB_ID")
    private String jobId;

    @TableField("COMMISSION_PCT")
    private Integer commissionPct;

    @TableField("MANAGER_ID")
    private Integer managerId;

    @TableField("DEPARTMENT_ID")
    private Integer departmentId;

    @TableField("SALARY")
    private BigDecimal salary;



}
